package com.ofhb.webapp.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.ofhb.webapp.shared.dto.HallDTO;
import com.ofhb.webapp.shared.dto.UserDTO;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("dataWriter")
public interface DataWriterService extends RemoteService {
	
	UserDTO save(UserDTO userDTO) throws IllegalArgumentException;
	HallDTO save(HallDTO hallDTO) throws IllegalArgumentException;
	
}
